package com.cjl.learn.builder;

/**
 * Created by Enzo Cotter on 2019-09-02.
 */
public class BuilderTest {

    public static void main(String[] args) {
        NormalHouseBuilder normalHouseBuilder = new NormalHouseBuilder();
        House normalHouse = new BuilderDirector(normalHouseBuilder).buildHouse();

        HighHouseBuilder highHouseBuilder = new HighHouseBuilder();
        House highHouse = new BuilderDirector(highHouseBuilder).buildHouse();

    }
}
